package cn.micai.shiro.chapter6.dao;

import cn.micai.shiro.chapter6.entity.Role;

/**
 * @author zhaoxinguo on 2017/8/16.
 */
public interface RoleDao {

    public Role createRole(Role role);

    public void deleteRole(Long roleId);

    public void correlationPermissions(Long roleId, Long... permissionIds);

    public void uncorrelationPermissions(Long roleId, Long... permissionIds);

}
